<template>
	<fs-page>
		<fs-crud ref="crudRef" v-bind="crudBinding">
			<template #cell_$expand="scope">
				<ExpendCell :row-data="scope" />
			</template>
		</fs-crud>
	</fs-page>
</template>

<script lang="ts" setup name="whiteList">
import { ref, onMounted } from 'vue';
import { useFs } from '@fast-crud/fast-crud';
import { createCrudOptions } from './crud';
const { crudBinding, crudRef, crudExpose } = useFs({ createCrudOptions });

// 页面打开后获取列表数据
onMounted(() => {
	// console.log('guowangbuliang .... aaaaaa')
	crudExpose.doRefresh();
});

/***************************************/
import ExpendCell from './expand/index.vue';
</script>
